<%--
  Created by IntelliJ IDEA.
  User: EdmundEoEo
  Date: 2022/11/22
  Time: 15:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>

    <style type="text/css">

        *{
            margin: 0px;
            padding: 0px;

        }
        html{
            width: 100%;
            height: 100%;
        }
        body{
            width: 100%;
            height: 100%;
            background: url("img/bg.png") no-repeat center center /100% 100%;

        }
        #back{
            width: 100%;
            height: 1080px;
            background-size: cover;

        }

        #logo img{
            margin-top: 20px;
            margin-left: 20px	;
            width: 100px;
        }

        #register{
            width: 40%;
            margin: 200px auto;
        }

        #register1{
            height: 60px;
            text-align: center;
            line-height: 50px;
            border-radius: 20px 20px 0px 0px;
            background: white;
        }

        #register1 p{
            font-size: 25px;
            color: black;
        }

        #login2{
            height: 220px;
            border-radius: 0px 0px 20px 20px;
            text-align: center;
            background: white;
        }

        #input1,#input2{
            height: 35px;
            width: 70%;
            border: gainsboro solid 2px;
            border-radius: 5px;
            margin-top: 30px;
        }

        #button{
            height: 35px;
            width: 80%;
            margin-top: 30px;
            border-radius: 5px;
            cursor: pointer;
        }

        #footer{
            margin-top: 20px;
            margin-left: 50px;
        }

        #footer span{
            size: 3px;
            color: grey;
        }

        #footer a{
            text-decoration: none;
        }

    </style>

    <!--引入jquery.js-->
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>

</head>
<body>

<div id="back">
    <div id="logo">
<%--        <a href="index.html"><img src="img/Logo.png"></a>--%>
    </div>

    <div id="register">
        <div id="register1">
            <p>账&nbsp;&nbsp;号&nbsp;&nbsp;注&nbsp;&nbsp;册</p>
        </div>
        <hr/>
        <div id="login2">
            <form action="AdminRegisterController" method="post">
                账&nbsp;&nbsp;号&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input id="input1" type="text" name="username" placeholder="请输入账号"><br/>
                密&nbsp;&nbsp;码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input id="input2" type="password" name="password" placeholder="请输入密码"><br/>
                <p style="font-weight: 900; color: red">${registerError}</p>
                <!-- <img src="imgs/btn_login.png"> -->
                <input id="button" type="submit" value="确定" style="color: white; background: black; border: none">
            </form>
        </div>
        <div id="footer">
            <span>登录/注册即表示您同意<a href="#">&nbsp;用户协议&nbsp;</a>&nbsp;和&nbsp;<a href="#">隐私条款&nbsp;</a><a href="#">&nbsp;忘记密码？</a></span>
        </div>
    </div>
</div>

</body>
</html>
